package android.tusnotas.parser.push;

import org.htmlcleaner.XPatherException;

import android.tusnotas.beans.Ack;
import android.tusnotas.exception.ProcessingInstancesException;

import com.thoughtworks.xstream.XStream;

public class AckParser {
	public Ack parseXML(String XML) throws ProcessingInstancesException, XPatherException{
		XStream stream = new AckXStream();
		Ack ack = ((Ack) stream.fromXML(XML));
		return ack;
	}

}
